<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="FastSpring.Core.Model.Enum,FastSpring.Net.Core" table="Sys_Enum" lazy="false">
    <id name="MID" column="MID" type="Int32">
      <generator class="native" />
    </id>
    <property name="MType" column="MType"/>
    <property name="MCode" column="MCode"/>
    <property name="MName" column="MName"/>
    <property name="MDesc" column="MDesc"/>
    <property name="MOrder" column="MOrder"/>
    <property name="IsActive" column="IsActive"/>
  </class>  
  <query name="GetAllEnums">
    <![CDATA[from Enum enum0 Where enum0.IsActive=1 ORDER BY enum0.MType,enum0.MOrder]]>
  </query>  
</hibernate-mapping>

